Skip to content

Refactor process_running_jobs background task#3648

Merged
r4victor merged 8 commits intomasterfrom
issue_3551_running_jobs_pipeline
Mar 11, 2026
Merged

Refactor process_running_jobs background task#3648
r4victor merged 8 commits intomasterfrom
issue_3551_running_jobs_pipeline

Conversation

@r4victor
Copy link
Collaborator

This PR refactors process_running_jobs code for easier transition to pipelines, mainly:

  • Break _process_running_job() into explicit handlers for PROVISIONING, PULLING, and RUNNING.
  • Move sibling-job gating, cluster info calculation, attached volumes lookup, repo creds loading, and secrets interpolation into a dedicated startup-context helper used only by PROVISIONING and PULLING.
  • For branches that upload code or archives, check runner/shim readiness first and fetch code/file archives only when submission is actually about to happen.

@r4victor r4victor merged commit 3e17881 into master Mar 11, 2026
28 checks passed
@r4victor r4victor deleted the issue_3551_running_jobs_pipeline branch March 11, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant